package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.validation.constraints.*;

@Data
@ApiModel("地区创建参数")
public class LegalAreasCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

//    @NotNull(message = "type参数缺失")
//    @ApiModelProperty(value = "1-总平台 2-管理公司")
//    private Integer type;

    @NotNull(message = "name参数缺失")
    @ApiModelProperty(value = "")
    private String name;

    @NotNull(message = "mobile参数缺失")
    @ApiModelProperty(value = "手机号")
    private String mobile;

    @NotNull(message = "commissionedParty参数缺失")
    @ApiModelProperty(value = "受委托方")
    private String commissionedParty;

    @NotNull(message = "address参数缺失")
    @ApiModelProperty(value = "住所地")
    private String address;

    @NotNull(message = "certificateNo参数缺失")
    @ApiModelProperty(value = "身份证号码/组织机构代码证")
    private String certificateNo;

    @NotNull(message = "accountName参数缺失")
    @ApiModelProperty(value = "户名")
    private String accountName;

    @NotNull(message = "accountNumber参数缺失")
    @ApiModelProperty(value = "账号")
    private String accountNumber;

    @NotNull(message = "bankName参数缺失")
    @ApiModelProperty(value = "开户行")
    private String bankName;

//    @NotNull(message = "amount参数缺失")
//    @ApiModelProperty(value = "分佣收入")
//    private BigDecimal amount;

    @NotNull(message = "status参数缺失")
    @ApiModelProperty(value = "1-启用")
    private Integer status;

    @NotNull(message = "sort参数缺失")
    @ApiModelProperty(value = "")
    private Long sort;

    @NotNull(message = "城市id缺失")
    @ApiModelProperty(value = "城市id")
    private Integer areaId;

}
